x86/PoD: tighten conditions for checking super page
authorJan Beulich <jbeulich@suse.com>
Fri, 20 Nov 2015 11:37:37 +0000 (12:37 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Nov 2015 11:37:37 +0000 (12:37 +0100)
commit513c203a0046232c55adf6d70ec1dbe54e8d157f
tree70d373e893f99bb7bbfee9d39db1338c597a3d76
parent65288cf610ccf1aae423f65ac67ee5dbeff252a1
x86/PoD: tighten conditions for checking super page

Since calling the function isn't cheap, try to avoid the call when we
know up front it won't help; see the code comment for details on those
conditions.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
xen/arch/x86/mm/p2m-pod.c